<script>
export default {
  onLaunch() {
    // 应用启动
    console.log('案源网小程序启动')
  },
  onShow() {
    // 应用显示
  },
  onHide() {
    // 应用隐藏
  }
}
</script>

<style>
/* 全局基础样式 */
page {
  background-color: #f7f8fa;
  color: #1f2937;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

/* 通用样式 */
.container {
  padding: 24rpx;
}

.card {
  background: #fff;
  border-radius: 12rpx;
  padding: 24rpx;
  margin-bottom: 16rpx;
  box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 32rpx;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16rpx;
  display: block;
}

.btn {
  border-radius: 8rpx;
  font-size: 28rpx;
  border: none;
  padding: 20rpx;
  text-align: center;
}

.btn-primary {
  background: #3b82f6;
  color: #fff;
}

.btn-primary[disabled] {
  background: #d1d5db;
  color: #9ca3af;
}

.muted {
  color: #6b7280;
  font-size: 24rpx;
}

.input {
  background: #fff;
  border-radius: 8rpx;
  padding: 20rpx;
  border: 2rpx solid #e5e7eb;
  font-size: 28rpx;
}

.tag {
  display: inline-block;
  padding: 8rpx 16rpx;
  border-radius: 20rpx;
  font-size: 24rpx;
  margin-right: 12rpx;
  margin-bottom: 8rpx;
}

.tag-civil {
  background: #dbeafe;
  color: #1d4ed8;
  border: 2rpx solid #3b82f6;
}

.tag-criminal {
  background: #f3e8ff;
  color: #7c3aed;
  border: 2rpx solid #8b5cf6;
}

.tag-admin {
  background: #dcfce7;
  color: #16a34a;
  border: 2rpx solid #22c55e;
}
</style>
